// ================================================================================================
// Scrap functions no longer used
// ================================================================================================
// ================================================================================================
// Create the surfaces
// ================================================================================================
void CreateSurfaces(Surface** surfaces) {
    // -- surface 1
    Vector4 origin1 = {1.0f, 0.0f, 0.0f};
    Vector4 normal1 = {-1.0f, 0.0f, 0.0f};
    Color col1 = {1.0f, 0.0f, 0.0f};
    Plane plane1 = {origin1, normal1};
    Surface* surface1 = new FlatSurface(col1, plane1);

    // -- surface 2
    Vector4 origin2 = {-1.0f, 0.0f, 0.0f};
    Vector4 normal2 = {1.0f, 0.0f, 0.0f};
    Color col2 = {0.0f, 1.0f, 0.0f};
    Plane plane2 = {origin2, normal2};
    Surface* surface2 = new FlatSurface(col2, plane2);

    // -- surface 3
    Vector4 origin3 = {0.0f, 1.0f, 0.0f};
    Vector4 normal3 = {0.0f, -1.0f, 0.0f};
    Color col3 = {0.0f, 0.0f, 1.0f};
    Plane plane3 = {origin3, normal3};
    Surface* surface3 = new FlatSurface(col3, plane3);

    // -- surface 4
    Vector4 origin4 = {0.0f, -1.0f, 0.0f};
    Vector4 normal4 = {0.0f, 1.0f, 0.0f};
    Color col4 = {0.5f, 0.5f, 0.5f};
    Plane plane4 = {origin4, normal4};
    Surface* surface4 = new FlatSurface(col4, plane4);

    // -- surface 5
    Vector4 origin5 = {0.0f, 0.0f, -2.0f};
    Vector4 normal5 = {0.0f, 0.0f, 1.0f};
    Color col5 = {0.0f, 0.5f, 0.5f};
    Plane plane5 = {origin5, normal5};
    Surface* surface5 = new FlatSurface(col5, plane5);

    // -- surface 6
    Vector4 origin6 = {0.0f, 0.0f, -2.0f};
    float radius = 1.0f;
    Color col6 = {0.0f, 0.8f, 0.5f};
    Sphere sphere1 = {origin6, radius};
    Surface* surface6 = new SphereSurface(col6, sphere1);

    //// -- surface 7
    //Vector4 v2 = {-0.4f, -0.4f, -0.7f, 1.0f};
    //Vector4 v1 = {-0.0f, 0.4f, -0.7f, 1.0f};
    //Vector4 v0 = {0.4f, -0.4f, -0.7f, 1.0f};
    //Color col7 = {0.3f, 0.0f, 0.5f};
    //Triangle triangle1 = {v0, v1, v2};
    //Surface* surface7 = new TriangleSurface(col7, triangle1);

    // -- surface 8
    Vector4 v0 = {-0.5f, -0.5f, -1.0f, 1.0f};
    Vector4 v1 = {0.0f, -0.5f, -1.0f, 1.0f};
    Vector4 v2 = {-0.5f, 0.0f, -1.0f, 1.0f};
    Color col8 = {0.2f, 0.2f, 0.9f};
    Square square1 = {v0, v1, v2, 1.00f, 1.00f};
    Surface* surface8 = new SquareSurface(col8, square1);

    surfaces[0] = surface1;
    surfaces[1] = surface2;
    surfaces[2] = surface3;
    surfaces[3] = surface4;
    surfaces[4] = surface5;
    surfaces[5] = surface6;
    //surfaces[6] = surface7;
    surfaces[6] = surface8;
}

